package com.coco.dao;


import com.coco.entity.People;
import com.coco.entity.User;
import org.coco.mybatis.annotation.Param;

import java.util.List;

public interface UserDao {

    List<People> findAll(@Param("id") Integer id, @Param("name") String name);

    List<People> findByName(@Param("name") String name);

    int delById(@Param("id") Integer id);

    void add(People people);
}
